package com.fengyunhe.manager.web;

import com.alibaba.druid.support.http.StatViewServlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Druid数据库监控请求拦截器
 * @author yangyan
 * Created by Administrator on 2014/11/3.
 */
public class DruidStatViewServlet extends StatViewServlet
{
    @Override
    public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    {
        super.service(request, response);

        System.out.println("Druid 数据库连接池授权过滤！");
        //TODO 数据库连接池权限过滤


    }
}
